const _import =
  process.env.NODE_ENV === 'production'
    ? (file) => () => import('@/views/modules/' + file + '.vue')
    : (file) => require('@/views/modules/' + file + '.vue').default

export default [
  {
    path: 'manage/edit',
    component: _import('manage/edit/edit'),
    name: 'manage-edit',
    meta: { title: '编辑删除文章', login: true, permission: 'manage-edit' }
  },
  {
    path: 'manage/user',
    component: _import('manage/user/user'),
    name: 'manage-user',
    meta: { title: '增删改插用户以及管理员', login: true, permission: 'manage-user' }
  }
]
